package org.jeecg.modules.demo.weixin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 关卡表
 * @Author: jeecg-boot
 * @Date:   2023-10-22
 * @Version: V1.0
 */
@Data
@TableName("smt_level")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="smt_level对象", description="smt_level")
public class SmtLevel implements Serializable {
    private static final long serialVersionUID = 1L;

	/**关卡ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "关卡ID")
    private Integer id;
	/**关联游戏ID*/
	@Excel(name = "关联游戏ID", width = 15)
    @ApiModelProperty(value = "关联游戏ID")
    private Integer gameId;
	/**绑定游戏uuid*/
	@Excel(name = "绑定游戏uuid", width = 15)
    @ApiModelProperty(value = "绑定游戏uuid")
    private String gameUuid;
	/**关卡名称*/
	@Excel(name = "关卡名称", width = 15)
    @ApiModelProperty(value = "关卡名称")
    private String name;
	/**1待机动画，2普通关卡*/
	@Excel(name = "1待机动画，2普通关卡", width = 15)
    @ApiModelProperty(value = "1待机动画，2普通关卡")
    private Integer type;
	/**关卡的fps*/
	@Excel(name = "关卡的fps", width = 15)
    @ApiModelProperty(value = "关卡的fps")
    private Integer fps;
	/**关卡排序*/
	@Excel(name = "关卡排序", width = 15)
    @ApiModelProperty(value = "关卡排序")
    private Integer orderNum;
	/**转场动画需要绑定一个关卡*/
	@Excel(name = "转场动画需要绑定一个关卡", width = 15)
    @ApiModelProperty(value = "转场动画需要绑定一个关卡")
    private Integer linkLevelId;
	/**阻断帧，对应游戏中待机动画config文件中的block参数*/
	@Excel(name = "阻断帧，对应游戏中待机动画config文件中的block参数", width = 15)
    @ApiModelProperty(value = "阻断帧，对应游戏中待机动画config文件中的block参数")
    private Integer prohibitFrame;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
